package com.esun.payment_api.mapper;

import com.esun.payment_api.bean.DkContractBean;
import com.esun.payment_api.domain.DkClaimContract;
import com.esun.payment_api.domain.DkClaimContractExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DkClaimContractMapper {
    long countByExample(DkClaimContractExample example);

    int deleteByExample(DkClaimContractExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DkClaimContract record);

    int insertSelective(DkClaimContract record);

    List<DkClaimContract> selectByExample(DkClaimContractExample example);

    DkClaimContract selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DkClaimContract record, @Param("example") DkClaimContractExample example);

    int updateByExample(@Param("record") DkClaimContract record, @Param("example") DkClaimContractExample example);

    int updateByPrimaryKeySelective(DkClaimContract record);

    int updateByPrimaryKey(DkClaimContract record);

    List<DkContractBean> getClaimContractData(Integer claimId, Integer claimContractId);

    List<DkContractBean> getClaimTaskContractList(Integer claimTaskId, Integer claimId, String searchStr);
}